package com.client.bean;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 反馈软件的信息
 *
 * @author:HingLo
 * @create 2017-10-13 14:52
 **/
@Entity
@Table(name = "feedback")
public class FeedBack {
    @Id
    private String id;
    private String type;//类型
    private String content;//内容
    private Date ctime;//反馈时间
    private String contact;//联系方式
    private boolean state;//状态

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content.trim();
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact.trim();
    }
}
